Firefly-1980: firefly standalone installation#1962
Conversation
78a2cfa to
c46648e
Compare
c46648e to
5a6913f
Compare
loitly
left a comment
There was a problem hiding this comment.
It looks good. Definitely good enough for phase 1. Below are my feedbacks.
Instead of a new standalone directory under firefly repo root, have you considered moving these scripts into the existing bin directory?
Rather than remoteInstall.sh, maybe call it get-firefly.
Instead of “create an install directory,” install.sh should prompt for an installation location, defaulting to the current directory.
I would move startFirefly into the firefly/bin directory. There will likely be additional scripts added later, and we could either add this directory to the user’s PATH automatically or instruct the user to do so during installation.
I’d also think about how to organize the files under ~/.firefly. Maybe place them under a config directory so files are not hanging directly off .firefly.
loitly
left a comment
There was a problem hiding this comment.
Even though this is already in the firefly repo, we still prefix it with “firefly” everywhere. Perhaps instead of “src/firefly_standalone”, it should simply be “standalone” or “application”.
| // tomcat for standalone | ||
| implementation 'org.apache.tomcat.embed:tomcat-embed-core:11.0.21' | ||
| implementation 'org.apache.tomcat.embed:tomcat-embed-websocket:11.0.21' | ||
| implementation 'org.apache.tomcat.embed:tomcat-embed-jasper:11.0.21' | ||
|
|
There was a problem hiding this comment.
Is this still necessary when firefly_standalone dependencies are already defined?
|
@loitly |
sure
good idea
many install scripts no longer prompt. they go for simple. For example install java.
yea, I suppose, I was not quite sure where to put it. I wanted a script that the user could copy to other places. If it is in the bin I guess the install script needs to make a clear message to the user.
I experimented with stuff like that. After that, I purposely tried to make it more shallow I am not sure of the point of making it deeper. |
Firefly-1980: create a user installable standalone firefly
Testing
curl https://raw.githubusercontent.com/Caltech-IPAC/firefly/refs/heads/FIREFLY-1980-standalone/standalone/remoteInstall.sh | bash./startFireflyInformation
~/.fireflyfirefly.logandapplication.log~/.firefly/user_ops.shTodo
-helptoinstall.shandstartFireflyServer.sh